package com.zerosky.crm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.zerosky.crm.dao.ConfigDAO;
import com.zerosky.crm.po.Config;
import com.zerosky.crm.service.ConfigService;

/**
 * Config业务逻辑实现类
 * 
 * @author hugy;
 * @since 2017-06-09
 *
 */
@Service(value="configService")
public class ConfigServiceImpl implements ConfigService {

	@Autowired
	private ConfigDAO configDAO; // Config数据接口

	/**
	 * Config列表
	 * 
	 * @author hugy;
	 * @since 2017-06-09
	 */
	@Transactional(propagation = Propagation.NOT_SUPPORTED) // 不开启事务
	public List<Config> getConfigList() {
		return configDAO.getConfigList();
	}

}
